/*
 * Copyright (c) 2008 Anshuman Manur <anshuman.manur@gmail.com>,
 * Lavanya Shastri <lavanya.shastri@gmail.com>
 * 
 * This file is part of Andronova.
 * 
 * Andronova is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 * 
 * Andronova is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *  
 * You should have received a copy of the GNU General Public License
 * along with Andronova.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * This file may use the functionality provided by the library
 * jid3lib version 0.5.4 (<http://sourceforge.net/projects/javamusictag/>).
 * jid3lib and its uses are covered by GNU Lesser General Public License.
 * 
 */

package com.googlecode.andronova;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SelectionScreen extends Activity {

	@Override
	protected void onCreate(Bundle icicle) {
		// TODO Auto-generated method stub
		super.onCreate(icicle);
		
		setContentView(R.layout.selectionscreen);
		
		Button sel_lib = (Button)findViewById(R.id.sel_lib);
		Button sel_pl = (Button)findViewById(R.id.sel_pl);
		Button sel_fb = (Button)findViewById(R.id.sel_fb);
		Button sel_hlp =(Button)findViewById(R.id.sel_hlp);
		
		sel_lib.setOnClickListener(new OnClickListener(){

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent a = new Intent(SelectionScreen.this,LibraryActivity.class);
				startActivity(a);
				
			}});		
		
		sel_pl.setOnClickListener(new OnClickListener(){

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				//Intent b = new Intent(SelectionScreen.this,PlaylistEditor.class);
				//startActivity(b);
				
			}});		
		
		sel_fb.setOnClickListener(new OnClickListener(){

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent c = new Intent(SelectionScreen.this,AndroidFileBrowser.class);
				startActivity(c);
				
			}});		
		
		sel_hlp.setOnClickListener(new OnClickListener(){
			
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent d = new Intent(SelectionScreen.this,Help.class);
				startActivity(d);
				
			}});		
	}

}
